package com.cristina.attention.feign;

import com.cristina.attention.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author by superman
 */
@FeignClient("attention-web")
public interface GroupMemberFeignService {

    /**
     * 根据群id 获取群成员
     * @param groupId
     * @param userId
     * @return
     */
    @GetMapping("/findGroupMemberByGroupId")
    R findGroupMemberByGroupId(@RequestParam Long groupId, @RequestParam Long userId);
}
